/**
* Copyright (c) 2016-2100 yunclouds
*/
package com.yunqian.redot.domain;

import com.yunqian.model.BaseModel;
import com.yunqian.redot.constant.Tables;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

/**
 * 咨询分类管理
 *
 * @author zsy
 * 2018-09-29 15:54:40
 */
@Data
@Entity
@Table(name = Tables.INFORMATION_TYPE)
@EqualsAndHashCode(callSuper = false)
public class InformationType extends BaseModel<Long>{
    
    /**状态 1-隐藏 2-显示*/
    @Column(name = "status")
    private Integer status = 1;
    /**备注*/
    @Column(name = "remark")
    private String remark;
    /**排序号*/
    @Column(name = "sort_num")
    private Integer sortNum;
    /**名称*/
    @NotNull
    @Column(name = "title")
    private String title;
    /**小程序链接*/
    @Column(name = "applet_url")
    private String appletUrl;


    public InformationType() {
    }

}
